<template>
	<view class="contact">
		<image src="../../static/images/about-us.jpg" mode=""></image>
		<view class="info">
			<view @click="phone">联系电话：020-8399999（点击拨打）</view>
			<view>公司地址：广州市白云区人和镇鹤龙六路</view>
		</view>
		<map :latitude="latitude" :longitude="longitude" :scale="scale" :markers="markers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				latitude: 23.340364,
				longitude: 113.3053,
				scale: 13,
				markers: [
					{
							latitude: 23.340364,
							longitude: 113.3053,
					}
				]
			};
		},
		methods:{
			phone() {
				uni.makePhoneCall({
					phoneNumber:'17302079798'
				})
			}
		}
	}
</script>

<style lang="scss">
	.contact {
		image {
			width: 750rpx;
			height: 300rpx;
		}
		.info {
			padding: 10rpx 15rpx;
			line-height: 60rpx;
			font-size: 30rpx;
		}
		map {
			width: 750rpx;
			height: 750rpx;
			margin-top: 20rpx;
		}
	}
</style>
